﻿package com.javaPattern.Bridge;

public class Client {
	public static void main(String[] args) {
		Car bus = new Bus();
		Car truck = new Truck();

		Engine e2000 = new Engine2000();
		Engine e3000 = new Engine3000();

		bus.carEngine(e2000);
		truck.carEngine(e3000);
	}

}
